package com.cmwa.solution.business.prdSetup.news.entity;

public enum NewsType {
	MarketOpinion("1", "市场观点"),
	MarketHotPrj("2", "市场热点产品"),
	AssetConfigAdvice("3", "资产配置建议"),
	SuperviseDynamicAnalyse("4", "监管动态解读");
	
	private String val;
	private String text;
	private NewsType(String val, String text) {
		this.val = val;
		this.text = text;
	}
	public String value() {
		return val;
	}
	public String text() {
		return text;
	}
	
	public static String get(String value) {  
		NewsType[] businessModeEnums = values();  
        for (NewsType businessModeEnum : businessModeEnums) {  
            if (businessModeEnum.value().equals(value)) {  
                return businessModeEnum.text();  
            }  
        }  
        return null;  
    }  
}
